import { SET, SET_SHOW, SET_NAV_BAR_HEIGHT } from "../constants/config";

export const set = (selected: number) => {
  return {
    type: SET,
    data: selected,
  };
};

export const setShow = (show: boolean) => {
  return {
    type: SET_SHOW,
    data: show,
  };
};

export const setNavBarHeight = (height: number) => {
  return {
    type: SET_NAV_BAR_HEIGHT,
    data: height,
  };
};
